import request from '@/utils/request'
import api from './index'
import qs from 'qs'
import { encryptAes } from '@/utils/encryptUtil'

export function loadMemberData(param) {
  let encryptStr = encryptAes(JSON.stringify(param))
  //模拟后端返回登录数据
  return request({
    url: api.getDoctorUsersPag,
    method: 'post',
    data: qs.stringify({ 'paramText': encryptStr })
  })
}
